package pack0628;

public class Bbb {

    static String name = "abcd" ;

    public static void main(String[] args) {
        System.out.println("我是main函数");

        System.out.println(Aaa.name);

//        Person.sing();
//
//        Person p = new Person() ;
//        p.sing() ;    //不推荐

        Aaa p = new Aaa() ;
        p.name = "任我行" ;
        p.address = "北京" ;

        Aaa p1 = new Aaa() ;
        System.out.println(p1.name);
        System.out.println(p1.address);
    }

    static{
        System.out.println(name);
        System.out.println("我是test类的静态块");
    }


}
